package com.atguigu.ssyx.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * @描述:仓库判断
 * @作者:胡树苑
 * @时间:2025/9/12 20:21
 */
public enum WareType {
    NotFind(1,"该仓库未找到"),
    IsdeleteReSet(2,"该仓库已经存在,原先被删除,现在恢复"),
    Success(3,"添加成功"),
    IsExist(4,"该仓库已经存在");
    @EnumValue
    private Integer code;
    private String comment ;
    WareType(Integer code, String comment) {
       this.code = code;
       this.comment = comment;
    }

    public String getComment() {
        return comment;
    }
}
